<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="http://myfaces.apache.org/tomahawk">


<ui:composition
	template="../../templates/templateViewValidationDetails.xhtml">
	<ui:define name="title">
	 	View of validation details page
	</ui:define>
	<ui:param name="page" value="home" />
	<ui:define name="header">
		<ui:include src="../../header.xhtml" />
	</ui:define>

<ui:define name="body">		
	<h:form>		  		
				  <h:panelGrid  width="100%"> 
					<!-- <h:dataTable id="DATATABLE_DocTitle" width="100%" 
						value="#{clerkCaseDetailsPage.bindDocument}" var="bindDoc"
						columnClasses="dataTableColumnClass,dataTableColumnClass">
						<h:column >
							<f:facet name="header">
								<h:outputText value="Document title with court seal" styleClass="subHeadingTextClass" />
							</f:facet>
							<h:outputText value="#{bindDoc.title}" styleClass="textFont75">  
							
         					  </h:outputText>			
				         </h:column>	
				    </h:dataTable> -->
					
		    <h:outputText value="The Validation Details are: " styleClass="tableheadcenter"/>
		    <h:outputText rendered="#{clerkCaseDetailsPage.validCourtSeal}" value="Court Seal creation date: " styleClass="tableheadcenter"/>
			<h:outputText rendered="#{clerkCaseDetailsPage.validCourtSeal}"  value="#{clerkCaseDetailsPage.courtSeal.creationDate}" styleClass="tableheadGreen">
				<f:convertDateTime 
					dateStyle="long" 
					timeStyle="long"
					timeZone="America/New_York" 
					type="both"/>
			</h:outputText>
			<h:outputText rendered="#{!(clerkCaseDetailsPage.validCourtSeal)}"  value="The Court Seal is not valid" styleClass="tableheadRed"/> 
			<h:outputText rendered="#{clerkCaseDetailsPage.validCourtSeal}" value="Court Seal expiration date: " styleClass="tableheadcenter"/>
			<h:outputText rendered="#{clerkCaseDetailsPage.validCourtSeal}"  value="#{clerkCaseDetailsPage.courtSeal.expirationDate}" styleClass="tableheadGreen">
				<f:convertDateTime 
					dateStyle="long" 
					timeStyle="long"
					timeZone="America/New_York" 
					type="both"/>
			</h:outputText>
			<h:outputText rendered="#{clerkCaseDetailsPage.validCourtSeal}"  value="Organization:" styleClass="tableheadcenter"/>
			<h:outputText rendered="#{clerkCaseDetailsPage.validCourtSeal}"  value="#{clerkCaseDetailsPage.courtSeal.signedByOrganization.uuid}" styleClass="tableheadGreen"/> 
			<h:outputText rendered="#{clerkCaseDetailsPage.validCourtSeal}"  value="Document:" styleClass="tableheadcenter"/>
			<h:outputText rendered="#{clerkCaseDetailsPage.validCourtSeal}"  value="#{clerkCaseDetailsPage.courtSeal.document.uuid}" styleClass="tableheadGreen"/> 
		 </h:panelGrid>	 
	</h:form>			
</ui:define>
</ui:composition>
</html>
